package pl.cba.solgar.game.rogal.commands;

public abstract class Command {
	private String keys;

	public Command(String keys) {
		this.keys = keys;
	}

	public void reset() {
	}

	public String getKeys() {
		return keys;
	}

	/**
	 * Execute command
	 * @return if recognition should reset after command.
	 */
	public boolean execute() {
		reset();
		return true;
	}

	public String getShortDescription() {
		return "short desc: " + getClass().getSimpleName();
	}

	public String getLongDescription() {
		return "long desc: " + getClass().toString();
	}
}
